#include"pro.h"



int main()
{
  char pro[size];
  int i = 0;
  memset(pro,'\0',sizeof(pro));
  while(i<=100)
  {
     printf("[%-100s]%% %d\r",pro,i);
     fflush(stdout);
     pro[i++] = init;
     if(i<100)
       pro[i] = address;
      usleep(100000);//微秒为单位

  }
  printf("\n");
  return 0;
}
